<?php $this->headLink()->prependStylesheet($this->STATIC_SERVER . '/css/adapt/reset.css'); ?>
<?php $this->headLink()->appendStylesheet($this->STATIC_SERVER . '/css/adapt/text.css'); ?>
<?php $this->headLink()->appendStylesheet($this->STATIC_SERVER . '/css/adapt/master.css'); ?>
<?php $this->headLink()->appendStylesheet($this->STATIC_SERVER . '/css/front/style.css'); ?>

<?php $this->headScript()->appendFile($this->STATIC_SERVER . '/js/adapt.min.js');?>
<?php $this->headScript()->appendFile($this->STATIC_SERVER . '/js/reflection.js');?>
<?php $this->headScript()->appendFile($this->STATIC_SERVER . '/js/jcarousellite.js');?>
<?php $this->headScript()->appendFile($this->STATIC_SERVER . '/js/jquery.mousewheel.min.js');?>
<?php $this->headScript()->appendFile($this->STATIC_SERVER . '/js/scripts.js');?>

<?php echo $this->doctype(); ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?= $this->LANG; ?>" lang="<?= $this->LANG; ?>">
<head>
<?= $this->headTitle();?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="index, follow" />
<?= $this->headMeta(); ?>

<link rel="shortcut icon" type="image/x-icon" href="<?php echo $this->STATIC_SERVER; ?>/favicon.png" />


<?= $this->headLink(); ?>

<script type="text/javascript">
// Edit to suit your needs.
var ADAPT_CONFIG = {
  // Where is your CSS?
  path: '<?= $this->STATIC_SERVER ; ?>/css/adapt/',

  // false = Only run once, when page first loads.
  // true = Change on window resize and page tilt.
  dynamic: true,

  // First range entry is the minimum.
  // Last range entry is the maximum.
  // Separate ranges by "to" keyword.
  range: [
	'0px    to 760px  = mobile.min.css',
	'760px  to 980px  = 720.min.css',
	'980px  to 1280px = 960.min.css',
	'1280px to 1600px = 1200.min.css',
	'1600px to 1920px = 1560.min.css',
	'1920px           = fluid.min.css'
  ]
};
</script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript">window.jQuery || document.write('<script type="text/javascript" src="<?= $this->STATIC_SERVER;?>/js/jquery-1.6.2.min.js"><\/script>')</script>
<?= $this->headScript(); ?>
	
<!--[if IE 6]>
        <script type="text/javascript" src="<?= $this->STATIC_SERVER; ?>/js/pngfix/DD_belatedPNG.js"></script>
        <script type="text/javascript">
                DD_belatedPNG.fix('#wrapper, #header, .line_foot, a.home, a.sitemap, a.book, a.message');
        </script>
        <style type="text/css">
                div.buttons {
                        padding-left: 5%;
                }
        </style>
<![endif]-->
<?php //echo $this->compressor('css'); ?>
<?php //echo $this->compressor('js'); ?>

</head>
<body>
<div id="wrapper">
	<div id="header">
		<div class="container_12">
			<div class="grid_3">
				<div class="title_header">
					<a href="<?= $this->url(array(),'default_index_index'); ?>" title="УРАЛЭНЕРГОЦВЕТМЕТ"><span><?= $this->translate('URALENERGOCVETMET');?></span></a>
				</div>
			</div>
			<div class="grid_9">
				<div class="grid_8 alpha address">
					<p><?= $this->translate('Russia, 620014, Ekaterinburg, Anton Valek st., 13');?></p>
					<p><?= $this->translate('Phone: (343) 359-44-72, fax: (343) 371-56-24');?></p>
				</div>
				<div class="grid_1 alpha omega language">
                      <?= $this->languageSwitcher(); ?>
				</div>
				<div class="clearfix"></div>
				<div class="fast_icons">
					<a href="<?= $this->url(array(),'default_index_index');?>" title="<?= $this->translate('Home page');?>" class="home"></a>
					<a href="<?= $this->url(array(),'navigation_index_index');?>" title="<?= $this->translate('Sitemap');?>" class="sitemap"></a>
					<a href="/upload/media/katalog_mail.pdf" title="<?= $this->translate('Download book');?>" class="book"></a>
					<a href="<?= $this->url(array(),'default_feedback_index');?>" title="<?= $this->translate('Feedback');?>" class="message"></a>
				</div>
				<div class="clearfix"></div>
				<div id="searchForm">
					<form action="<?= $this->url(array(),'default_index_search');?>" method="post">
						<input type="submit" name="submit" value="" /><input type="text" name="search" maxlength="255" />
					</form>
				</div>
			</div>
			<div class="clearfix"></div>
		</div>
	</div>
	<div id="main_content">
		<div class="container_12 main_content">
			<?= $this->LayoutLoader(); ?>
		</div>
	</div>
	<div class="pad"></div>
</div>
		
<div id="footer">
	<div id="line_foot"></div>
	<div id="foot">
		<div id="footer_wrap" class="container_12">
			<div id="copyright" class="grid_6">
				&copy; <?= $this->translate('URALENERGOCVETMET');?>, <?= date("Y");?> <?= $this->translate('Yekaterinburg'); ?>
			</div>
			<div id="authors" class="grid_6">
				<?= $this->translate('Web site design - the company "Assorted"');?><br />
				<?= $this->translate('Developer - the company'); ?> "<a href="http://deeprosoft.com" title="Deeprosoft">DeeProSoft</a>"
			</div>
		</div>
	</div>
</div>

<div class="scroll-to-top"><?= $this->translate('To top');?></div>
	<script type="text/javascript">
		<!--		
			$(document).ready(function(){
				$(".scroll-to-top").hide();
				
				$(".scroll-to-top").click(function(){
					$("html,body").animate({
						scrollTop: 0
					}, 1000)
				});

				$(window).scroll(function(){
					if($(this).scrollTop() > 10) {
						$(".scroll-to-top").fadeIn(2000);
						$(".scroll-to-top").css("bottom", 30);
						//$(".scroll-to-top").clearQueue().fadeIn(200);
					} else {
						//$(".scroll-to-top").clearQueue().fadeOut(200);
						$(".scroll-to-top").fadeOut(20);
					}
				});

				

				
				if('<?= $this->LANG; ?>' == 'ru') {
					$(".button_en img").css('height','15px');
					$(".button_en img").css('width','21px');
					$(".button_en img").css('opacity','0.5');
				} else {
					$(".button_ru img").css('height','15px');
					$(".button_ru img").css('width','21px');
					$(".button_ru img").css('opacity','0.5');
				}
			});
		//-->
	</script>
<?php
	//Подцепляем js-ки от виджетов
	//echo $this->compressor('js', 'bottomBody'); 
?>
	<!--[if lt IE 7 ]>
		<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.2/CFInstall.min.js"></script>
		<script>window.attachEvent("onload",function(){CFInstall.check({mode:"overlay"})})</script>
	<![endif]-->
</body>
</html>